﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Clinica/MasterPageProgramacion.master" AutoEventWireup="true" CodeFile="wfProgramacion.aspx.cs" Inherits="Ventas_wfProgramacion" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxRoundPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPopupControl" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.ASPxScheduler.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxScheduler" tagprefix="dxwschs" %>
<%@ Register assembly="DevExpress.XtraScheduler.v11.2.Core, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraScheduler" tagprefix="cc1" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style7
        {
            height: 21px;
        }
        .style10
        {
            height: 36px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentMenuSecundario" Runat="Server">
    <li><a href="wfMedicoListado.aspx" class="">Médico</a></li>
    <li><a href="wfEmpleadoListado.aspx" class="">Empleado</a></li>
    <li><a href="wfTurnoListado.aspx" class="">Turno</a></li>
    <li><a href="wfProgramacionListado.aspx" class="active">Programación</a></li>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ModuleTitleContent" Runat="Server">
    Programación
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentEnlacesRapidos" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="MainContent" Runat="Server">
    <ul class="tabs primary">
        <li><a href="wfProgramacionListado.aspx">Listado de Programaciones Médicas</a></li>
        <li class="active"><a href="wfProgramacion.aspx">Registrar Programación Médica</a></li>
    </ul>
    <h4>Registrar Programación Médica</h4>
    <table width="99%">
        <tr>
            <td>
                <dx:ASPxPanel ID="ASPxPanel1" runat="server">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent2" runat="server" SupportsDisabledAttribute="True">
                            <table>
                                <tr>
                                    <td>
                                        <dx:ASPxButton ID="btnAceptar" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                                            CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                            Text="Aceptar" OnClick="ASPxButton1_Click">
                                        </dx:ASPxButton>
                                    </td>
                                    <td>
                                        <dx:ASPxButton ID="btnCancelar" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                                            CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                            Text="Cancelar" OnClick="ASPxButton2_Click" CausesValidation="False">
                                        </dx:ASPxButton>
                                    </td>
                                </tr>
                            </table>
                        </dx:PanelContent>
                    </PanelCollection>
                </dx:ASPxPanel>
            </td>
        </tr>
    </table>
    <table>
        <tr>
            <td class="style7" colspan="4">
                <table style="width:100%;">
                    <tr>
                        <td>
                <dx:ASPxLabel ID="ASPxLabel13" runat="server" ClientIDMode="AutoID" 
                    Text="Tipo de Programacion">
                </dx:ASPxLabel>
                        </td>
                        <td rowspan="2" valign="top">
                <dx:ASPxComboBox ID="cboTipoProgramacion" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                    DataSourceID="ObjectDataSource4" TextField="TIP_DESCRIPCION" 
                    ValueField="TIP_ID_TIPO" style="margin-top: 0px">
                    <Items>
                        <dx:ListEditItem Text="Normal" Value="Normal" />
                    </Items>
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                    </LoadingPanelImage>
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxComboBox>
                                        <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="cboTipoProgramacion" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator13">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                        <td>
                <dx:ASPxLabel ID="ASPxLabel10" runat="server" ClientIDMode="AutoID" Text="Tipo Servicio">
                </dx:ASPxLabel>
                        </td>
                        <td rowspan="2" valign="top">
                <dx:ASPxComboBox ID="cboTipoServicio" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                    DataSourceID="ObjectDataSource6" TextField="TIS_DESCRIPCION" 
                    ValueField="TIS_ID_TIPO">
                    <Items>
                        <dx:ListEditItem Text="Consultorios Externos" Value="Consultorios Externos" />
                    </Items>
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                    </LoadingPanelImage>
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxComboBox>
                                        <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="cboTipoServicio" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator14">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                        <td>
                <dx:ASPxLabel ID="ASPxLabel1" runat="server" ClientIDMode="AutoID" Text="Departamento">
                </dx:ASPxLabel>
                        </td>
                        <td rowspan="2" valign="top">
                <dx:ASPxComboBox ID="cboDepartamento" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                    ValueType="System.String" DataSourceID="ObjectDataSource1" 
                    ValueField="DEPH_ID_DEPARTAMENTO" 
                    onselectedindexchanged="cboDepartamento_SelectedIndexChanged" 
                    TextField="DEPH_NOMBRE" AutoPostBack="True">
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                    </LoadingPanelImage>
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxComboBox>
                                        <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="cboDepartamento" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator15">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                <dx:ASPxLabel ID="ASPxLabel2" runat="server" ClientIDMode="AutoID" Text="Especialidad">
                </dx:ASPxLabel>
                        </td>
                        <td rowspan="2" valign="top">
                <dx:ASPxComboBox ID="cboEspecialidad" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" DataSourceID="ObjectDataSource2" 
                     TextField="ESP_NOMBRE" 
                ValueField="ESP_ID_ESPECIALIDAD"
                    onselectedindexchanged="cboEspecialidad_SelectedIndexChanged" 
                     AutoPostBack="True">
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                    </LoadingPanelImage>
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxComboBox>
                                        <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="cboEspecialidad" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator16">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                        <td>
                <dx:ASPxLabel ID="ASPxLabel3" runat="server" ClientIDMode="AutoID" Text="Médico">
                </dx:ASPxLabel>
                        </td>
                        <td rowspan="2" valign="top">
                <dx:ASPxComboBox ID="cboMedico" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" DataSourceID="ObjectDataSource3" 
                    ValueField="MED_ID_MEDICO" TextField="Nombre">
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                    </LoadingPanelImage>
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxComboBox>
                                        <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="cboMedico" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator17">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                        <td>
                <dx:ASPxLabel ID="ASPxLabel14" runat="server" ClientIDMode="AutoID" Text="Consultorio">
                </dx:ASPxLabel>
                        </td>
                        <td valign="top">
                <dx:ASPxComboBox ID="cboConsultorio" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" DataSourceID="ObjectDataSource7" 
                    ValueField="CON_ID_CONSULTORIO" 
                    onselectedindexchanged="cboDepartamento_SelectedIndexChanged" 
                    TextField="CON_NOMBRE">
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                    </LoadingPanelImage>
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxComboBox>
                                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                                        <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="cboConsultorio" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator21">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                    </tr>
                    <tr>
                        <td>
                <dx:ASPxLabel ID="ASPxLabel12" runat="server" ClientIDMode="AutoID" Text="Inicio">
                </dx:ASPxLabel>
                        </td>
                        <td rowspan="2" valign="top">
     <dx:ASPxDateEdit runat="server" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                CssPostfix="PlasticBlue" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                ClientIDMode="AutoID" ID="dtpFechaInicio" AutoPostBack="True" 
    >
                                                        <ValidationSettings>
                                                            <ErrorFrameStyle ImageSpacing="4px">
                                                                <ErrorTextPaddings PaddingLeft="4px">
                                                                </ErrorTextPaddings>
                                                            </ErrorFrameStyle>
                                                        </ValidationSettings>
                                                    </dx:ASPxDateEdit>
                                        <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="dtpFechaInicio" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator18">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                        <td>
                <dx:ASPxLabel ID="ASPxLabel5" runat="server" ClientIDMode="AutoID" Text="Fin">
                </dx:ASPxLabel>
                        </td>
                        <td rowspan="2" valign="top">
     <dx:ASPxDateEdit runat="server" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                CssPostfix="PlasticBlue" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                ClientIDMode="AutoID" ID="dtpFechaFin" AutoPostBack="True" ondatechanged="dtpFechaFin_DateChanged"  
   >
                                                        <ValidationSettings>
                                                            <ErrorFrameStyle ImageSpacing="4px">
                                                                <ErrorTextPaddings PaddingLeft="4px">
                                                                </ErrorTextPaddings>
                                                            </ErrorFrameStyle>
                                                        </ValidationSettings>
                                                    </dx:ASPxDateEdit>
                                        <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="dtpFechaInicio" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator19">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                        <td>
                <dx:ASPxLabel ID="ASPxLabel7" runat="server" ClientIDMode="AutoID" Text="Turno">
                </dx:ASPxLabel>
                        </td>
                        <td rowspan="2" valign="top">
                <dx:ASPxComboBox ID="cboTurno" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" 
                    DataSourceID="ObjectDataSource5" TextField="TUR_DESCRIPCION" 
                    ValueField="TUR_ID_TURNO" 
                    onselectedindexchanged="cboTurno_SelectedIndexChanged" AutoPostBack="True">
                    <Items>
                        <dx:ListEditItem Text=" Mañana" Value=" Mañana" />
                        <dx:ListEditItem Text="Tarde" Value="Tarde" />
                        <dx:ListEditItem Text="Noche" Value="Noche" />
                    </Items>
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                    </LoadingPanelImage>
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxComboBox>
                                        <%--<asp:RequiredFieldValidator runat="server" 
                    ForeColor="Red" ControlToValidate="cboTurno" 
                    ErrorMessage="RequiredFieldValidator" EnableTheming="False" 
                    ID="RequiredFieldValidator20">CampoRequerido!!!</asp:RequiredFieldValidator>--%>

                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="style7">
                &nbsp;</td>
            <td class="style7">
                &nbsp;</td>
            <td class="style7">
                <dx:ASPxGridView ID="dgHorarioMedico" ClientInstanceName="dgHorarioMedico" runat="server" 
                    ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" AutoGenerateColumns="False" Width="508px" 
                    KeyFieldName="HOR_ID">
                    <Columns>
                        <dx:GridViewCommandColumn ShowSelectCheckbox="True" VisibleIndex="0">
                            <HeaderTemplate>
                    <dx:ASPxCheckBox ID="SelectAllCheckBox" runat="server" ToolTip="Marcar/Descmarcar"
                        ClientSideEvents-CheckedChanged="function(s, e) { dgHorarioMedico.SelectAllRowsOnPage(s.GetChecked()); }" />
                </HeaderTemplate>
                <HeaderStyle HorizontalAlign="Center" />
                        </dx:GridViewCommandColumn>
                        <dx:GridViewDataTextColumn Caption="Horario" FieldName="HOR_HORARIO" 
                            VisibleIndex="3">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="Id Horario" FieldName="HOR_ID" 
                            VisibleIndex="1">
                        </dx:GridViewDataTextColumn>
                    </Columns>
                    <SettingsBehavior AllowFocusedRow="True" AllowSelectByRowClick="True" />
                    <SettingsPager ShowDefaultImages="False" NumericButtonCount="12" PageSize="12">
                        <AllButton Text="All">
                        </AllButton>
                        <NextPageButton Text="Next &gt;">
                        </NextPageButton>
                        <PrevPageButton Text="&lt; Prev">
                        </PrevPageButton>
                    </SettingsPager>
                    <Images SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                        <LoadingPanelOnStatusBar Url="~/App_Themes/PlasticBlue/GridView/gvLoadingOnStatusBar.gif">
                        </LoadingPanelOnStatusBar>
                        <LoadingPanel Url="~/App_Themes/PlasticBlue/GridView/Loading.gif">
                        </LoadingPanel>
                    </Images>
                    <ImagesFilterControl>
                        <LoadingPanel Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                        </LoadingPanel>
                    </ImagesFilterControl>
                    <Styles CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue">
                        <Header ImageSpacing="10px" SortingImageSpacing="10px">
                        </Header>
                    </Styles>
                    <StylesEditors>
                        <CalendarHeader Spacing="11px">
                        </CalendarHeader>
                        <ProgressBar Height="25px">
                        </ProgressBar>
                    </StylesEditors>
                </dx:ASPxGridView>
            </td>
            <td class="style7">
                <dx:ASPxLabel ID="ASPxLabel11" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" Text="Descripción" Visible="False">
                </dx:ASPxLabel>
                <dx:ASPxTextBox ID="txtDescripcion" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                    Width="170px" Height="16px" Visible="False">
                    <ValidationSettings>
                        <ErrorFrameStyle ImageSpacing="4px">
                            <ErrorTextPaddings PaddingLeft="4px" />
                        </ErrorFrameStyle>
                    </ValidationSettings>
                </dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td class="style10">
            </td>
            <td class="style10">
                </td>
            <td class="style10">

                <asp:ObjectDataSource ID="ObjectDataSource4" runat="server" 
                    SelectMethod="listar" TypeName="Negocio.Clases_BL.clsPrm_Tipo_ProgramacionBL">
                </asp:ObjectDataSource>

                <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                    SelectMethod="listar" 
                    TypeName="Negocio.Clases_BL.clsDepartamentoHospitalBL">
                </asp:ObjectDataSource>

                <asp:ObjectDataSource ID="ObjectDataSource5" runat="server" 
                    SelectMethod="listar" TypeName="Negocio.Clases_BL.clsPrm_TurnoBL">
                </asp:ObjectDataSource>

                <asp:ObjectDataSource ID="ObjectDataSource3" runat="server" 
                    SelectMethod="listar_Medico_Filtro" 
                    TypeName="Negocio.Clases_BL.clsMedicoBL">
                    <SelectParameters>
                        <asp:Parameter DefaultValue="0" Name="ID_Especialidad" Type="Int32" />
                    </SelectParameters>
                </asp:ObjectDataSource>

                <asp:ObjectDataSource ID="ObjectDataSource6" runat="server" 
                    SelectMethod="listar" TypeName="Negocio.Clases_BL.clsTipoServicioBL">
                </asp:ObjectDataSource>

                <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" 
                    SelectMethod="listarFiltro" TypeName="Negocio.Clases_BL.clsEspecialidadBL">
                    <SelectParameters>
                        <asp:Parameter DefaultValue="0" Name="ID" Type="Int32" />
                    </SelectParameters>
                </asp:ObjectDataSource>
                <asp:ObjectDataSource ID="ObjectDataSource7" runat="server" 
                    SelectMethod="listarFiltro" TypeName="Negocio.Clases_BL.clsConsultorioBL">
                    <SelectParameters>
                        <asp:Parameter Name="ID" Type="Int32" />
                    </SelectParameters>
                </asp:ObjectDataSource>
            </td>
            <td class="style10">
                </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
            </td>
            <td>
                <dx:ASPxPopupControl ID="pcMensaje" runat="server"
                CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                Modal="True" PopupHorizontalAlign="WindowCenter" 
                PopupVerticalAlign="WindowCenter" 
                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="420px" 
                AllowDragging="True" AllowResize="True" ClientInstanceName="pcMensaje" 
                DragElement="Window" HeaderText="Mensaje">
                <HeaderImage Url="~/Imagenes/iconError.png">
                </HeaderImage>
                <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                </LoadingPanelImage>
                <CloseButtonStyle>
                    <Paddings Padding="0px" />
                </CloseButtonStyle>
                <ContentStyle>
                    <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                </ContentStyle>
                <HeaderStyle>
                <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                    PaddingTop="4px" />
                </HeaderStyle>



<ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">
<table width="100%">
        <tr>
           <td style="padding:0 0 0 20px;">
                <dx:ASPxLabel ID="lblMensaje" runat="server">
                </dx:ASPxLabel>
                <hr />
            </td>
        </tr>
        <tr>        
             <td align="center">
                <dx:ASPxButton ID="ASPxButton4" runat="server" AutoPostBack="False" 
                    ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" 
                    CssPostfix="PlasticBlue" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Text="Aceptar" 
                    Checked="True">
                    <ClientSideEvents Click="function(s, e) {
	pcMensaje.Hide();   
}" />
                    <CheckedStyle BackColor="#000066" Font-Bold="True" Font-Names="Georgia" 
                        ForeColor="White" Font-Italic="False" Font-Strikeout="False">
                    </CheckedStyle>
                    <HoverStyle BackColor="#000099" Font-Bold="True" Font-Names="Georgia" 
                        ForeColor="White">
                    </HoverStyle>
                </dx:ASPxButton>
            </td>
        </tr>
    </table>


</dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>
            </td>
        </tr>
    </table>
    <%--<table width="99%">
        <tr>
            <td>
                <dx:ASPxRoundPanel ID="ASPxRoundPanel1" runat="server" ClientIDMode="AutoID" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                    CssPostfix="PlasticBlue" GroupBoxCaptionOffsetY="-18px" HeaderText="Envio de Formulario"
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="99%">
                    <ContentPaddings PaddingBottom="8px" />
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent1" runat="server" SupportsDisabledAttribute="True">
                            
                            
                            
                            
                        </dx:PanelContent>
                    </PanelCollection>
                </dx:ASPxRoundPanel>
            </td>
        </tr>
    </table>--%>
</asp:Content>

